package com.teamall.web.fpgz.db.dao.mapper;

import com.teamall.web.fpgz.db.arg.CodeVillageProjectInfoArg;
import com.teamall.web.fpgz.db.po.CodeVillageProjectInfoPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ICodeVillageProjectInfoMapper {
    
    List<Integer> countByArg(CodeVillageProjectInfoArg arg);

    List<CodeVillageProjectInfoPO> selectByArg(CodeVillageProjectInfoArg arg);

    CodeVillageProjectInfoPO selectByPrimaryKey(String id);

    List<CodeVillageProjectInfoPO> selectByArgAndPage(CodeVillageProjectInfoArg arg, RowBounds rowBound);

    int insert(CodeVillageProjectInfoPO record);

    int insertSelective(CodeVillageProjectInfoPO record);

    int insertBatch(@Param("list") List<CodeVillageProjectInfoPO> records);

    int updateByArgSelective(@Param("record") CodeVillageProjectInfoPO record,
            @Param("arg") CodeVillageProjectInfoArg arg);

    int updateByArg(@Param("record") CodeVillageProjectInfoPO record,
            @Param("arg") CodeVillageProjectInfoArg arg);

    int updateByPrimaryKeySelective(CodeVillageProjectInfoPO record);

    int updateByPrimaryKey(CodeVillageProjectInfoPO record);
    
    int deleteByArg(CodeVillageProjectInfoArg arg);
    
    int deleteByPrimaryKey(String id);
    
}